package com.example.newsdaily.entity;

public class ItemImage {
    private int itemImgId;
    private int indexResourceID;  // 图片在本地资源中的ID    ResourceTable.media_a
    private String itemImg;
    private String itemImgType;
    private String itemImgUrl;

    public ItemImage() {
    }

    public ItemImage(int indexResourceID) {
        this.indexResourceID = indexResourceID;
    }

    public ItemImage(int itemImgId, int indexResourceID, String itemImg, String itemImgType, String itemImgUrl) {
        this.itemImgId = itemImgId;
        this.indexResourceID = indexResourceID;
        this.itemImg = itemImg;
        this.itemImgType = itemImgType;
        this.itemImgUrl = itemImgUrl;
    }

    public int getItemImgId() {
        return itemImgId;
    }

    public void setItemImgId(int itemImgId) {
        this.itemImgId = itemImgId;
    }

    public int getIndexResourceID() {
        return indexResourceID;
    }

    public void setIndexResourceID(int indexResourceID) {
        this.indexResourceID = indexResourceID;
    }

    public String getItemImg() {
        return itemImg;
    }

    public void setItemImg(String itemImg) {
        this.itemImg = itemImg;
    }

    public String getItemImgType() {
        return itemImgType;
    }

    public void setItemImgType(String itemImgType) {
        this.itemImgType = itemImgType;
    }

    public String getItemImgUrl() {
        return itemImgUrl;
    }

    public void setItemImgUrl(String itemImgUrl) {
        this.itemImgUrl = itemImgUrl;
    }
}